# 1 "/opt/topspin/exp/stan/nmr/lists/pp/user/zgesgp-fb"
;zgesgp-fb
;avance-version (07/10/04)
;1D sequence
;water suppression using excitation sculpting with gradients and flip back
;T.-L. Hwang & A.J. Shaka, J. Magn. Reson.,
;   Series A 112 275-279 (1995)
;
;$CLASS=HighRes
;$DIM=1D
;$TYPE=
;$SUBTYPE=
;$COMMENT=


prosol relations=<triple>


# 1 "/opt/topspin/exp/stan/nmr/lists/pp/Avance.incl" 1
;Avance3.incl
;   for AV III
;
;avance-version (07/12/14)
;
;$CLASS=HighRes Incl
;$COMMENT=





























































































































































;$Id: Avance3.incl,v 1.6.2.2 2007/12/14 16:06:46 ber Exp $
# 18 "/opt/topspin/exp/stan/nmr/lists/pp/user/zgesgp-fb" 2

# 1 "/opt/topspin/exp/stan/nmr/lists/pp/Grad.incl" 1
;Grad2.incl  -  include file for Gradient Spectroscopy
;   for 1
;
;avance-version (07/01/17)
;
;$CLASS=HighRes Incl
;$COMMENT=



















define list<gradient> EA=<EA>



;$Id: Grad2.incl,v 1.12 2007/01/22 14:22:35 ber Exp $
# 19 "/opt/topspin/exp/stan/nmr/lists/pp/user/zgesgp-fb" 2

# 1 "/opt/topspin/exp/stan/nmr/lists/pp/Delay.incl" 1
;Delay.incl  -  include file for commonly used delays
;
;version 00/02/07
;
;$CLASS=HighRes Incl
;$COMMENT=


;general delays

define delay DELTA
define delay DELTA1
define delay DELTA2
define delay DELTA3
define delay DELTA4
define delay DELTA5
define delay DELTA6
define delay DELTA7
define delay DELTA8

define delay TAU
define delay TAU1
define delay TAU2
define delay TAU3
define delay TAU4
define delay TAU5


;delays for centering pulses

define delay CEN_HN1
define delay CEN_HN2
define delay CEN_HN3
define delay CEN_HC1
define delay CEN_HC2
define delay CEN_HC3
define delay CEN_HC4
define delay CEN_HP1
define delay CEN_HP2
define delay CEN_CN1
define delay CEN_CN2
define delay CEN_CN3
define delay CEN_CN4
define delay CEN_CP1
define delay CEN_CP2


;loop counters

define loopcounter COUNTER
define loopcounter SCALEF
define loopcounter FACTOR1
define loopcounter FACTOR2
define loopcounter FACTOR3



;$Id: Delay.incl,v 1.12 2005/11/10 12:16:58 ber Exp $
# 20 "/opt/topspin/exp/stan/nmr/lists/pp/user/zgesgp-fb" 2



"p2=p1*2"
"d12=20u"


"TAU=de+p1*2/3.1416+50u"


# 1 "mc_line 30 file /opt/topspin/exp/stan/nmr/lists/pp/user/zgesgp-fb expanding definition part of mc command before ze"
define delay MCWRK
define delay MCREST
"MCWRK = 0.333333*30m"
"MCREST = 30m - 30m"
    dccorr
# 30 "/opt/topspin/exp/stan/nmr/lists/pp/user/zgesgp-fb"
1 ze
# 1 "mc_line 30 file /opt/topspin/exp/stan/nmr/lists/pp/user/zgesgp-fb expanding definition of mc command after ze"
# 31 "/opt/topspin/exp/stan/nmr/lists/pp/user/zgesgp-fb"
# 1 "mc_line 31 file /opt/topspin/exp/stan/nmr/lists/pp/user/zgesgp-fb expanding start label for mc command"
2 MCWRK  * 2
LBLF0, MCWRK
  MCREST
# 32 "/opt/topspin/exp/stan/nmr/lists/pp/user/zgesgp-fb"
  d12 setnmr3^0 setnmr0^34^32^33 ctrlgrad 7
  d1
  4u pl0:f1
  p13:sp13:f1 ph13
  d12 pl1:f1

  p1 ph1
  
  50u setnmr3|0 setnmr0|34|32|33 ctrlgrad 0
  p16:gp1
  d16 pl0:f1
  (p12:sp1 ph2:r):f1
  4u
  d12 pl1:f1

  p2 ph3

  4u
  p16:gp1
  d16 
  TAU
  p16:gp2
  d16 pl0:f1
  (p12:sp1 ph4:r):f1
  4u
  d12 pl1:f1

  p2 ph5

  4u
  p16:gp2
  d16

  go=2 ph31
# 1 "mc_line 66 file /opt/topspin/exp/stan/nmr/lists/pp/user/zgesgp-fb expanding mc command in line"
  MCWRK wr #0
  MCWRK zd 
  lo to LBLF0 times td0

  MCWRK
# 67 "/opt/topspin/exp/stan/nmr/lists/pp/user/zgesgp-fb"
  4u setnmr3^0 setnmr0^34^32^33 ctrlgrad 7
exit


ph1=0
ph2=0 1
ph3=2 3
ph4=0 0 1 1
ph5=2 2 3 3
ph13=2
ph31=0 2 2 0 


;pl0 : 120dB
;pl1 : f1 channel - power level for pulse (default)
;sp1 : f1 channel - shaped pulse 180 degree
;p1 : f1 channel -  90 degree high power pulse
;p2 : f1 channel - 180 degree high power pulse
;p12: f1 channel - 180 degree shaped pulse (Squa100.1000)   [2 msec]
;p16: homospoil/gradient pulse
;d1 : relaxation delay; 1-5 * T1
;d12: delay for power switching                             [20 usec]
;d16: delay for homospoil/gradient recovery
;NS: 8 * n, total number of scans: NS * TD0
;DS: 4


;use gradient ratio:    gp 1 : gp 2
;                         31 :   11

;for z-only gradients:
;gpz1: 31%
;gpz2: 11%

;use gradient files:
;gpnam1: SINE.100
;gpnam2: SINE.100



;$Id: zgesgp,v 1.5.6.1 2007/10/04 16:52:07 ber Exp $
